package com.ruoyi.repair.controller;

import com.ruoyi.repair.domain.pojo.MaintainByShopId;
import com.ruoyi.repair.service.ICheMaintainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @ClassName MaintainByShopId
 * @Author Jovan HOU
 * @Date 2025年01月10日 16:51
 */
@RestController
@RequestMapping("shopId")
public class MaintainByShopIdController
{
    @Autowired
    ICheMaintainService service;

    @GetMapping("getmaintain")
    public MaintainByShopId selectByShopId(
            @RequestParam
            Long shopId){

        MaintainByShopId maintainByShopIds = service.selectByShopId(shopId);

        return maintainByShopIds;
    }
}
